//===============================================================================
// Microsoft patterns & practices Enterprise Library Contribution
// Logging Application Block
//===============================================================================
// License: http://www.codeplex.com/entlibcontrib/Project/License.aspx
// Author: Randy
//===============================================================================

using Microsoft.Practices.EnterpriseLibrary.Common.Configuration;
using Microsoft.Practices.EnterpriseLibrary.Logging.Formatters;
using EntLibContrib.Logging.Configuration;

namespace EntLibContrib.Logging.Formatters
{
	/// <summary>
	/// Custom template text formatter.
	/// </summary>
	[ConfigurationElementType(typeof(TemplateTextFormatterData))]
	public class TemplateTextFormatter : TextFormatter, ITemplateTextFormatter
	{
		#region Construction
		/// <summary>
		/// Constructor to initialize a new instance of the class.
		/// </summary>
		/// <param name="templateData">Template containing tokens to replace.</param>
		public TemplateTextFormatter(string templateData)
			: base(templateData)
		{
		}
		#endregion
	}
}
